Blow away all directories/files on each build
authorAlex Crichton <alex@alexcrichton.com>
Fri, 18 Jul 2014 02:53:47 +0000 (19:53 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 18 Jul 2014 22:56:16 +0000 (15:56 -0700)
commit9f5d9b816628ed7d21f17f2b5d9537ecbecab216
tree06685b78a67eb0ec821e8db4e70ec684bb41c2bd
parent65ff8ada78ba5c4c5ed65a3d6e3287ccb5e59fb1
Blow away all directories/files on each build

And aftewards selectively move them back into place if they're fresh. This
prevents stale files from showing up from old builds.

This currently breaks anyone build `build=` scripts, the fix is coming in the
next commit.

Closes #205
src/cargo/ops/cargo_rustc/context.rs
src/cargo/ops/cargo_rustc/fingerprint.rs
src/cargo/ops/cargo_rustc/job_queue.rs
src/cargo/ops/cargo_rustc/layout.rs [new file with mode: 0644]
src/cargo/ops/cargo_rustc/mod.rs
tests/test_cargo_compile.rs
tests/test_cargo_compile_path_deps.rs